
m = new myMedia();
var devices = m.getDevices();
console.log('m.getDevices');
console.log(devices);